﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cobit5.BIZ.Cobit
{
    public enum TimeAlarmStatus : int
    {
        Initial = 0,

        StartTime = 11,
        StartTimeReply = 12,

        EndTime = 21,
        EndTimeReply = 22,

        SuggestNewTime = 71,
        SuggestNewTimeFinish = 72,

        OwnerSubmit = 81,
        ReviewerSubmit = 82,
        OwnerSubmitFail = 91,
        ReviewerSubmitFail = 92,

        AuditManagerSubmit = 100,
        SeeYouNextTime = 101,
        End = 102
    }
    /// 0:initial

    ///11：开始时间到了，发送给相关的Owner/Reviewer
    ///12：Owner/Reviewer回复，并停止提示

    ///21：Deadline时间到了，发送给相关的Owner/Reviewer
    ///22：Owner/Reviewer回复，并停止提示

    ///71：Owner/Reviewer提议新的时间，发送给了审计管理员，待审批
    ///72：审计管理员回复，通知到Owner/Review后，重新恢复至0～22的状态

    ///81：Owner完成了，并上传提交，等待审批
    ///82：Reviewer审批完，等待审计管理员审批
    ///91：Owner完成提交，被Reviewer驳回
    ///92：Reviewer审批完，被审计管理员驳回

    ///100：提交成功。等待创建下一次提交Supporting的时间。
    ///101：结束！
}
